/******/ (function(modules) { // webpackBootstrap
/******/ 	// The module cache
/******/ 	var installedModules = {};

/******/ 	// The require function
/******/ 	function __webpack_require__(moduleId) {

/******/ 		// Check if module is in cache
/******/ 		if(installedModules[moduleId])
/******/ 			return installedModules[moduleId].exports;

/******/ 		// Create a new module (and put it into the cache)
/******/ 		var module = installedModules[moduleId] = {
/******/ 			exports: {},
/******/ 			id: moduleId,
/******/ 			loaded: false
/******/ 		};

/******/ 		// Execute the module function
/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);

/******/ 		// Flag the module as loaded
/******/ 		module.loaded = true;

/******/ 		// Return the exports of the module
/******/ 		return module.exports;
/******/ 	}


/******/ 	// expose the modules object (__webpack_modules__)
/******/ 	__webpack_require__.m = modules;

/******/ 	// expose the module cache
/******/ 	__webpack_require__.c = installedModules;

/******/ 	// __webpack_public_path__
/******/ 	__webpack_require__.p = "";

/******/ 	// Load entry module and return exports
/******/ 	return __webpack_require__(0);
/******/ })
/************************************************************************/
/******/ ([
/* 0 */
/***/ function(module, exports, __webpack_require__) {

	var Input = __webpack_require__(4);

	var Button = React.createClass({displayName: "Button",
			getDefaultProps:function(){
				return {
					test:'aaa'
				}
			},
			render: function() {
				return React.createElement("input", {type: "button", value: this.props.test, onclick: this.props.onclick})
			}
	});

	var Root = React.createClass({displayName: "Root",
			test:function(){
				return 'dddfdfdf';
			},
			handler: function() {
				this.refs.a.innerText = 'ssdddd';
				this.refs.b.handler();
				console.log(this.refs.b);
			},
			handler1:function(){
				alert(window.PageDM.input2.getValue());
			},
			render: function() {
				var PageDM = window.PageDM;
				return React.createElement("div", null, 
								React.createElement("span", {ref: "a"}), 
								React.createElement("input", {type: "text", id: PageDM.input1.id, name: PageDM.input1.name, value: PageDM.input1.value, dmbind: PageDM.input1.dmbind}), 
								React.createElement(Input, null), 
								React.createElement(Input, {ref: "b", id: PageDM.input2.id, name: PageDM.input2.name, value: PageDM.input2.value, dmbind: PageDM.input2.dmbind}), 
								React.createElement(Button, {test: "设值", id: PageDM.btn1.id, name: PageDM.btn1.name, onclick: PageDM.btn1.click}), 
								React.createElement(Button, {test: "取值", onclick: PageDM.btn2.click}), 
								React.createElement(Button, {test: "测试", onclick: this.handler.bind(this)}), 
								React.createElement(Button, {test: "测试2", onclick: this.handler1})
							)
			}
	});
	ReactDOM.render(React.createElement(Root, null), document.getElementById('main'));

/***/ },
/* 1 */,
/* 2 */,
/* 3 */,
/* 4 */
/***/ function(module, exports) {

	var Input =  React.createClass({displayName: "Input",
		getDefaultProps:function(){
			return {
				className:'ucs-input',
				dmbind:'',
				placeholder:"",
				onfocus:"",
				onblur:""
			};
		},
		handler:function(){
			console.log('adfdfdf');
		},
		render:function(){
			return React.createElement("input", {type: "text", className: this.props.className, dmbind: this.props.dmbind, placeholder: this.props.placeholder, onfocus: this.props.onfocus, onblur: this.props.onblur})
		}
	})
	module.exports = Input;

/***/ }
/******/ ]);